home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 4
/
QRZ Ham Radio Callsign Database - Volume 4.iso
/
files
/
dsp
/
56ktools
/
gcc5616.tz
/
gcc5616
/
gcc5616
/
BUGS
next >
Wrap
Text File
|
1992-08-10
|
1KB
|
39 lines
This file lists the known bugs in the GCC5616 compiler:
BUGNUMBER: 0001
DESCRIPTION: Automatic long variables are sometimes not handled
correctly. They are assigned but never written back
to memory.
WORKAROUND: Declare the variables 'static'.
POSSIBLE CAUSE: The reload phase issues input reloads for some reason
but never issues output reloads.
TEST FILE:
================================================================
long time(void);
void wdog_test(int val)
{
register long timeout;
timeout = (long)val;
while(time() < timeout);
}
================================================================
BUGNUMBER: 0002
DESCRIPTION: Conversion from 'char' to 'float' causes an erroneous
test, compare, and add.
WORKAROUND: First convert to 'int', then 'float'
POSSIBLE CAUSE: This problem exists at RTL generation
TEST FILE:
================================================================
float foo(char i) {
float flength;
flength = (float)(i);
return flength;
}
================================================================